package com.exonline.backstage.entity;


import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Courses {
    private String id;
    private String tid;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String aid;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String aname;
    private String cover;
    private String tname;
    private String clevel;
    private String cname;
    private String cintroduce;
    private String cprice;
    private String cdirection;
    private String csubject;
    private String cviews;
    private String cstatus;
    private String creleasetime;
    private String comment;
    private Map<String,Object> videourls;

    //后端根据session 包含用户id ,根据用户id,寻找并添加老师名字
    //后端:生成记录的uuid,老师名,时间
    //前端参数:session(包含id)难度,介绍,定价,课程方向,课程科目
}
